DATA: ls_otype_para TYPE srmaiotcfg,
ls_scnid_para TYPE srmaiscn.
CALL FUNCTION 'SRM_AI_GET_OTYPE_PARAMETERS'
EXPORTING
im_scnid = 'Z_HUMAN_RESOURCES'
im_otype = 'BUS1065'
im_ocateg = 'BO'
im_aspect = space
IMPORTING
ex_otype_para = ls_otype_para
EXCEPTIONS
parameters_not_found = 1
OTHERS = 2.
CALL FUNCTION 'SRM_AI_GET_SCNID_PARAMETERS'
EXPORTING
im_scn_id = 'Z_HUMAN_RESOURCES'
IMPORTING
ex_scnid_para = ls_scnid_para
EXCEPTIONS
parameters_not_found = 1
OTHERS = 2.